import React from 'react'
import {Tabs} from "antd"
import ListItem from '../../components/ListItem';

const items = [
  {
    key: '1',
    label: '全部',
  },
  {
    key: '2',
    label: 'Node',
    children: 'Content of Tab Pane 2',
  },
  {
    key: '3',
    label: 'HTTP',
    children: 'Content of Tab Pane 3',
  },
]
function List() {
    const onChange = (key) => {
        console.log(key);
    };
  return (
    <div>
      <Tabs defaultActiveKey="1" items={items} onChange={onChange} />
      <ListItem></ListItem>
    </div>
  )
}

export default List
